#include "StdAfx.h"
#include "libs\include\RFLanDevice.h"

using namespace RFDevice;

extern "C" RFDEVICEPROXYDLL RFLanDevice* CALLING_CONVENTION CreateRFLanDevice()	
{
	RFLanDevice* rf = new RFLanDevice();
	return rf;
}

extern "C" RFDEVICEPROXYDLL void CALLING_CONVENTION DisposeRFLanDevice(RFLanDevice* rf)
{	
	rf->~RFLanDevice();
	rf = NULL;
}

extern "C" RFDEVICEPROXYDLL SOCKET CALLING_CONVENTION RFLanDevice_GetSocket(RFLanDevice* rf)
{	
	return rf->GetSocket();	
}